import Layout from '@/layout'

const goodsRouter = {
  path: '/goods',
  component: Layout,
  meta: {
    icon: 'el-icon-goods',
    roles: ['admin1']
  },
  children: [
    {
      path: 'goods',
      component: () => import('@/views/goods/index'),
      name: '商品管理',
      meta: { title: '商品管理',
        roles: ['admin1']
      }
    }
  ]
}

export default goodsRouter
